<?php
    $username = $_POST['username'];
    $password = $_POST['password'];

    if ($username === 'abc@qq.com' && $password === '123456') {
        echo json_encode(array(
            'status' => true,
            'msg' =>'登录成功',
            'data' => null,
            'token' => '82h9hh29hj020rjkrkr20rj',
            'username' => $username
        ));
    } else {
        echo json_encode(array(
            'status' => false,
            'msg' => '账户名或者密码错误',
            'data' => null,
            'token' => null
        ));
    }
?>